// CRC32: AB370483 | Unity headers extracted from FluidDisplacement.shader
// Shader "Shader Forge/FluidDisplacement" {
//   Properties {
//    _InWaves ("InWaves", 2D) = "white" { }
//    _SpecColor ("SpecColor", Color) = (0.5,0.5,0.5,1)
//    _MinimumAlpha ("Minimum Alpha", Float) = 0.2
//    _MaxHeight ("Max Height", Float) = 0
//    _WaterLUT ("WaterLUT", 2D) = "white" { }
//    _glossmult ("gloss mult", Float) = 0
//   [HideInInspector]  _Cutoff ("Alpha cutoff", Range(0,1)) = 0.5
//   }
//   Fallback "Diffuse"
//   SubShader 1/1 {
//     Tags { "QUEUE"="Transparent" "IGNOREPROJECTOR"="true" "RenderType"="Transparent" }
//     Pass 4/4 {
//       Name "SHADOWCASTER"
//       Tags { "LIGHTMODE"="SHADOWCASTER" "QUEUE"="Transparent" "IGNOREPROJECTOR"="true" "SHADOWSUPPORT"="true" "RenderType"="Transparent" }
//       Cull Off
//       Offset 1, 1
//       GpuProgramID 230694
//       Program "vp" {
//         SubProgram "d3d9 " {
//           Keywords { "SHADOWS_DEPTH" }
//           Bind "vertex" Vertex
//           Bind "texcoord" TexCoord0
//           Matrix 0 [glstate_matrix_mvp]
//           Vector 6 [_InWaves_ST]
//           Float 5 [_MaxHeight]
//           Vector 4 [unity_LightShadowBias]
//           SetTexture 0 [_InWaves] 2D 0
//         }
//       }
//     }
//   }
// }
// 
// Headers extracted with DarkStarSword's extract_unity_shaders.py
// https://raw.githubusercontent.com/DarkStarSword/3d-fixes/master/extract_unity_shaders.py

    vs_3_0
    def c7, 0, 1, 0, 0
    dcl_position v0
    dcl_texcoord v1
    dcl_2d s0
    dcl_texcoord o0
    dcl_position o1
    dcl_texcoord1 o2.xy
    dcl_texcoord2 o3

def c220, 0, 1, 0.0625, 0.5
dcl_2d s1

    mad r0.xy, v1, c6, c6.zwzw
    mov r0.zw, c7.x
    texldl r0, r0, s0
    mul r0.xyz, r0.w, c7.xyxw
    mad r0.xyz, r0, c5.x, v0
    mov r0.w, c7.y
    dp4 r1.x, c2, r0
    dp4 r2.w, c3, r0
    rcp r1.y, r2.w
    mul_sat r1.y, r1.y, c4.x
    add r1.x, r1.y, r1.x
    max r1.y, r1.x, c7.x
    lrp r2.z, c4.y, r1.y, r1.x
    dp4 r2.x, c0, r0
    dp4 r2.y, c1, r0

mov o1, r2 // Relocated from line 65 with shadertool.py

// Automatic vertex shader halo fix inserted with DarkStarSword's shadertool.py:
// shadertool.py -I ../.. --fix-unity-reflection --auto-fix-vertex-halo --add-fog-on-sm3-update --only-autofixed --ignore-register-errors Shader Forge_FluidDisplacement/vp/AB370483.txt
texldl r31, c220.z, s1
add r31.w, r2.w, -r31.y
mad r2.x, r31.w, r31.x, r2.x

    mov o0, r2

//     mov o1, r2 // Relocated to line 64 with shadertool.py
    mov o2.xy, v1
    mov o3, c7.x
